projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2b0b8
)
(generate-calendar-month): Add mouse-face properties.
author
Karl Heuer
<kwzh@gnu.org>
Mon, 4 Apr 1994 22:59:59 +0000
(22:59 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Mon, 4 Apr 1994 22:59:59 +0000
(22:59 +0000)
lisp/calendar/calendar.el
patch
|
blob
|
history
diff --git
a/lisp/calendar/calendar.el
b/lisp/calendar/calendar.el
index 74d1c52e0a1ec539778a10c83b3f30ee81e0d749..b1495c456339470d5f8fe34464c19f5004f782f8 100644
(file)
--- a/
lisp/calendar/calendar.el
+++ b/
lisp/calendar/calendar.el
@@
-1387,6
+1387,8
@@
characters on the line."
;; Put in the days of the month
(calendar-for-loop i from 1 to last do
(insert (format "%2d " i))
+ (put-text-property (- (point) (if (< i 10) 2 3)) (1- (point))
+ 'mouse-face 'highlight)
(and (zerop (calendar-mod (+ i blank-days) 7))
(/= i last)
(calendar-insert-indented "" 0 t) ;; Force onto following line